package com.ITArmy.service;

import com.ITArmy.beans.Shows.*;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 *
 */
public interface MessageService {

    /**
     * @param request request
     * @return int
     */
    MassageNumber getUnshowMessageNumber(HttpServletRequest request);


    /**
     * @return 关注信息系
     */
    List<FocusMessage> getFocus(HttpServletRequest request);

    /**
     * 点赞信息
     */

    List<PraiseMessage> getPrise(HttpServletRequest request);

    /**
     * 评论信息
     */
    List<CommentMessage> getComment(HttpServletRequest request);

    /**
     * 系统信息（订单信息）
     *
     * @param request request
     * @return list
     */
    List<SystemMessage> getSystem(HttpServletRequest request);

    /**
     * 将所有关注信息设为已读
     *
     * @return int
     */
    int readFocus(long ucid);

    /**
     * 将所有点赞信息设为已读
     *
     * @return int
     */
    int readPraise(long ucid);

    /**
     * 将所有评论信息设为已读
     *
     * @return int
     */
    int readComment(long ucid);

    /**
     * 将所有系统信息设为已读
     *
     * @return int
     */
    int readSystem(long ucid);

    int deleteFocusMessage(long fid);

    int deletePraiseMessage(long pid);

    int deleteCommentMessage(long cid);

    int deleteOrderMessage(long oid);
}
